﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using CityLife.Resources;
using System.Windows.Media.Imaging;
using CityLife.Objects;
using CityLife.CityService;

namespace CityLife
{
	public partial class Dummy : UserControl, ICityDesign
	{
        public Dummy()
		{
			// Required to initialize variables
			InitializeComponent();

          //  this.MouseEnter += new MouseEventHandler(Empty_MouseEnter);
          //  this.MouseLeave += new MouseEventHandler(Empty_MouseLeave);
		}

        

        void Empty_MouseLeave(object sender, MouseEventArgs e)
        {
         //   EmptyBorder.BorderBrush = new SolidColorBrush(Colors.Transparent);
         //   Cursor.Visibility = Visibility.Collapsed;
        }

        void Empty_MouseEnter(object sender, MouseEventArgs e)
        {
       //     EmptyBorder.BorderBrush = new SolidColorBrush(Colors.Yellow);
        //    Cursor.Visibility = Visibility.Visible;

//            StreamResourceInfo sr = Application.GetResourceStream(
//    new Uri("SilverlightApplication1;component/MyImage.png", UriKind.Relative));
//BitmapImage bmp = new BitmapImage();
//bmp.SetSource(sr.Stream);


            //BitmapImage bmp = new BitmapImage();
            //bmp.SetSource( ToolsImages.Residential1);

            //Cursor.Source = bmp;
            ;//       MainPage.Editor.ActiveTool
        }

        public void clearBorder()
        {
         

        }


        public void setBorder(Direction direction, bool ok)
        {

       
             

        }



        #region ICityDesign Members


        public CursorType CursorType
        {
            get { return CursorType.Single; }
        }

        public Image Thumbnail
        {
            get
            {
                       return null;

            }
        }

        public CityEditor.Tools ToolType
        {
            get { return CityEditor.Tools.Dummy; }
        }


        public ShopInfo Info
        {
            get
            {
                ShopInfo info = new ShopInfo();
               
                return info;
            }
        }

        public void SetBuildStep(CityElementStage step)
        {

        }
        #endregion
    }
}